<template>
  <div id="ChartDefault"></div>
</template>

<script>
export default {
  name: 'ChartDefault',
  data () {
    return {
      myChart: null
    }
  },
  created () {},
  mounted () {
    // 找到这个容器
    this.myChart = echarts.init(this.$el)
    // 配置项
    let option = {}
    // 渲染数据
    this.myChart.setOption(option)
  }
}
</script>
<style lang="scss" scoped>
#ChartDefault {
  width: 100%;
  height: 100%;
}
</style>
